﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace AirlineProject.Models
{
    public class editModels
    {
        private DataClassesProjectAirlineDataContext dc = new DataClassesProjectAirlineDataContext();
        public Flight infoflight(int flight_id)
        {
            return this.dc.Flights.Single(f => f.flight_id.Equals(flight_id));
        }
    }
}